-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add performance metrics for signature requests #26967
feat: Add performance metrics for signature requests #26967
Conversation
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
eb7bb6c
to
2eae7c7
Compare
ui/pages/confirmations/confirm-transaction/confirm-transaction.component.js
Outdated
Show resolved
Hide resolved
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/[email protected] |
|
c8c1757
to
0bf8712
Compare
Builds ready [2d743ac]
Page Load Metrics (1860 ± 65 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Co-authored-by: Vinicius Stevam <[email protected]>
Builds ready [f08fdb2]
Page Load Metrics (2036 ± 118 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
Builds ready [5ccb223]
Page Load Metrics (1862 ± 92 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Signature
tracesnewUnsignedTypedMessage
in a utility function, adds end ofMiddleware
trace andSignature
trace after hash is returned from background.Note that this PR still using a preview will be updated once core is released.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2902
Manual testing steps
No QA needed.
Screenshots/Recordings
An example Sentry trace for
Signature
https://metamask.sentry.io/performance/trace/53446691f4d44d40a5f9de82f1cebd05/?fov=0%2C4381.00004196167&node=txn-d4053774d6c2495b8564fdce1fac8bec&pageEnd&pageStart&project=273496&source=traces&statsPeriod=15m×tamp=1725629491.052Before
After
Pre-merge author checklist
Pre-merge reviewer checklist